package com.xmg.boot.demo.bootlesson1.user.service.dm;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;
import com.xmg.boot.demo.bootlesson1.user.entity.dm.Department;
import com.xmg.boot.demo.bootlesson1.user.entity.dm.DepartmentVo;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author 微信搜一搜：贺贺学编程
 * @since 2023-11-29
 */
public interface DepartmentService extends IService<Department> {
    List<Department> findDepartmentAll();

    List<Department> findByCondition(String dpName);

    List<DepartmentVo> findByVo();

    IPage<Department> findDepartmentPage(IPage<Department> page);

    boolean AddTwoTable();

    List<Department> selectProc(int departmentId);

    // String getEmployeeInfo(int departmentId);
}
